JMAddToClassPath
Adds a directory, zip file, or Java archive (JAR) file to the class path.
OSStatus JMAddToClassPath ( JMSessionRef session, const FSSpec* spec);
session
- The current session.
spec
- A pointer to a file system specification record.
- function result
- A result code; see "JManager Result Codes".
DISCUSSION
TheJMAddToClassPath
function adds an additional file to the Java class definition search path by prepending a Mac OS file system specification record (FSSpec
) to the class path of the current session. You can add any number of files to the class path. TheFSSpec
value can indicate an uncompressed zip file or a directory. A directory is considered to be the root of a class hierarchy.SEE ALSO
"Executing Java Applications".